//
//  LoginWindow.h
//  weibo3
//
//  Created by Tian Wu on 11-4-12.
//  Copyright 2011年 nfsysu. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import "RootViewController.h"

@class RootViewController;

@interface LoginWindow : NSWindowController {

    BOOL					cancelled;
    
    NSString * pinCode;
    
    //IBOutlet NSTextField    *UserName;
    //IBOutlet NSTextField    *PassWord;
    IBOutlet NSButton       *Autologin;
    IBOutlet WebView        *loginView;
    //IBOutlet NSProgressIndicator *logining;
    
    //IBOutlet RootViewController *_rootViewController;
}


- (NSString *)edit:(NSString *)startingValues from:(RootViewController *)sender;

- (BOOL)wasCancelled;

//- (IBAction)done:(id)sender;
- (IBAction)cancel:(id)sender;
- (IBAction)autoLoginDidChange:(id)sender;


@end
